Cleaned up code
Updated readme with usage information and added repository link to package.json