 Module = require 'module'
 path = require 'path'
-fs = require 'fs-plus'
-semver = require 'semver'
+
+fs = null     # Defer so the cache is used
+semver = null # Defer so the cache is used
 
 nativeModules = process.binding('natives')
 

  registered: false
  resourcePath: null

loadDependencies = (modulePath, rootPath, rootMetadata, moduleCache) ->
  for childPath in fs.listSync(path.join(modulePath, 'node_modules'))
    continue if path.basename(childPath) is '.bin'

    foundPath

exports.create = (modulePath) ->
  requireDependencies()

  modulePath = fs.realpathSync(modulePath)
  metadataPath = path.join(modulePath, 'package.json')
  metadata = JSON.parse(fs.readFileSync(metadataPath))
