outline for service and class setup