Added a controller class to handle server connection