Stringent code review

This **is** a stringent code review of the following files:
* `main.py`