Added service api facade

Added a service facade to the api. Current only implements setting metric credentials. Eventually service specific calls from the client should be moved here