first draft of backend webserver