Rest service

Roughing out services that correspond to API.