reorganized files, added package.json, minification and jshinting
added some unit tests