An attempt to move toward express 4.x - not yet working... search for 'TODO - matchRequest' this region of code will have to be updated to be compatible with express 4.x.