Fixed 404 status code, config file handling, basic templating