Made a start on middlewear - an interface between the front end and server side, this will maintain the mvc between front end and backend