Removed the tab activity and added the fragments to the classes