made the application more angular.js like