readded loader.h, updated xcode project