fixes to gruntfile and relocation of app files
made app module generic