Added documentation for MainActivity