Added comments for clarification on main file.