changed min version to 11 for action bar ( i think)
refactoring into fragments