support for directories as dependencies
added directory dependency example
moved code to index.js because why not
only include index.js and LICENSE in the package
2014 lol