WIP: remove all iPhone UI-specific code from all classes except IPhoneUI class