Add some abstraction for modules, not finishedyet
Add gruntfile and package file, fix jslint/hint problems
Fix last few lints