turned client into a class

This means gave it a constructor and member functions
turned the server into a class

Gave it a constructor and functions.  Also started using the import
socket to get the local host ip, instead of typing out my ip address