classes for services, exceptions, tokenstorages, clients