add initial support for reading a service, updated constants locations.
added support for updating a service