Refactored the front page
Refactored the client side code
Added input service
Added stub response handler
Changed the content type for the input service