Added some explanation about the main function.