Class for service