added documentation and loggers