Refined the server to make beter use of expresses' built in static server