Add support for index files (index.html). Add support for redirects (redirect to slash suffixed url if the file is index.html). Refactor code so file serving code is in StaticFile class.