learning to use classes in separate files and how to mix NS and C objects