Began constructing the REST api