     
     static let ApiVersion = "v1"
     static let CalendarEndpoint = "calendar"
-}
-
-func handler(data: [String:Any]) throws -> RequestHandler {
-	return {
-		request, response in
-		response.status = .ok
-		response.setHeader(.contentType, value: ServerContentType.HTML)
-		response.appendBody(string: "<html><title>Hello, world!</title><body>Hello, world!</body></html>")
-		response.completed()
-	}
 }
 
 func calendarEndpointHandler(data: [String:Any]) throws -> RequestHandler {

import PerfectHTTPServer

enum ServerContentType {
    static let HTML = "text/html"
    static let JSON = "application/json"
}


			"name":PerfectTestServer.Name,
			"port":PerfectTestServer.PrimaryApiPort,
			"routes":[
				["method":"get", "uri":"/\(PerfectTestServer.ApiVersion)/\(PerfectTestServer.CalendarEndpoint)", "handler":calendarEndpointHandler]
			],
			"filters":[
				[
