Configure server port
Configure the server with a handler module
Big refucktoring

* Moved lots of stuff from the wsworker module to separate modules
so it's easier to test
* Moved socket handling to a separate gen_server
Commit to keep going