Getting ready for core data
Work on core data.
Using sets for thrift objects instead of arrays