added angular-resource
added angular resource to  karma.conf.js
refactoring backend service
added aws scripts