Updated server to listen for data posting and pass in on to the router and requesthandlers