Refactor fragments to be in tabs