Add enum of server states
Add enum of server responses
Add enum of server commands
Misc. fixes
Add module documentation