Implement state machine for basic networking

Implement state machine
Implement error printing
Implement basic logic
Implement server data storage
Start work on widgets
Implement client/server log printing