Added main.cpp documentation