improve the logging by enabling different modi.
Improved the logging by enabling different modes. TODO before merging:
- Check documentation: Is it okay in this file? Or move to other file
- Second class in Preparation.py. Good idea or move to separate file?