Updated package.json
moved code to lib/