Make CoreStack into something that can be made as a framework and embedded.
Use NSJSONSerialization instead of SBJSON.
Make file naming consistent.
Various other "modernization" tasks.