initial commit
moved all read/write stuff to MemoryDataSource
xcode stuff