Updated routing engine to allow for restful routing