Implement custom server
Bugfix about showing page title, also small refactor on variable names