Adding restful base controller