Added restful controller interface for restful routing