Refactoring main activity,
Added action bar buttons.
Commited new files