Registered the classes as services