main.py: added comments and read config file
typo