refactor: moved connection handling to separate thread & class
Connection
Switch from JSON to message objects
refactor: messages passing from separate threads
refactor: changed communication in client to Message objects
cleaned up imports