RESTful routing + OOPS JS + some other cleanup