some classes for logging and responses