start exposing RESTful APIs