Rearrange into XCode and UNIX Code

Alter arrangement into two splits.
1) Code to run in XCode
2) Code to run on any UNIX environment inc. makefile