implemented web server + parts of web app