small package fix
added documentation and cleaned code
removed old router.js
removed .swp files
improved documentation
moved js files to views