added applicationjs file
integrated styling changes
refactored controller to improve binding