Add comments and indentation to MainActivity