Added logic to server for view handlers, added commons to resources for front end