Written some more on server

Still not work, but now it is pythons lack of enums that hinders me...