merged messages.py, serial.py and serversocket.py into network.py
adjusted main to fit interface from network.py
moved class MessageHandler from objects.py to network.py