Initial commit, register an HTTP and WebSocket handler, define some basic types and channels