Moving code to Xcode on this branch.

Decided to stop messing with random environments and use XCode as it is
designed for use on the Mac and use Mac solutions.