Begin implementing REST api.