Initial commit of library code and Xcode project for Mac + Cocotron (Windows).