added example and updated sections in mainpage.h