changed port number
changed socket connection to server address
created the controller side, plus basic tpl