restructoring project to seperate iOS/OSX classes