Added comments to main.cpp for later reading