update all dependecies and refactor code for updating
Add lusca dependency to package.json, fixes #15
Merge pull request #17 from JohnLockwood/master

Add lusca dependency to package.json, fixes #15
standardize code