added title

- added a linear layout for main page
- removed unnecessary comments/toasts
- refactored methods