Begin building REST api.