Refactor all activities to fragments