server: check that the request path points to a file or directory and call the appropriate handler function
server: add a basic implementation of the serveDirectory and serveFile functions
server: reorder imports
server: read in a template file and store the contents