add new services layer to expose REST API