The next changes were made:
- logging was added
- new input parameter 'log_level' was added
- description to functions was added