added functions to application controller
removed helper file
added binding to application
corrected app controller