Fixed compile break, fixed gitignore, added xcode project