refactor server

* shows some basic statistics on main page
* move tcp proxy setup into separate file
* migrate github page theme to be hosted locally