Declare handlers as objects instead of functions

Create a server which responds to requests to / with a static HTML file named index.html