First cut of API. Mockserver implemented for API