server.py is born
moved client logic out of controller for now.