Added some server code and rerouted the directory.