 # on unsupported request methods.
 crudify = (store, req, fn) ->
 
-  st = require "./extended"
-  ds = new st store
+  ds = new extendify store
   Schema = ds.Schema
 
   # listen for `req.param('id')` will fallback until it finds the id


# underscores is amazing, we'll be using this a lot.
_ = require "underscore"

# require your nedb installation
ds = null

        # boohoo, we've got trouble.
        fn error: "No items updated, please check your id", null

module.exports = crudify
