Added comments on each main.cpp