Refactoring: change iPad structure, provide base architecture