moved staticpages to handle requests not handled by response middleware and added default not found response as part of express init script