updated comments for everything but main.py