I have added comments for creating mainpage, rectangle info page and circle info page.