Singleton runtime

Make ModelData and Runtime act as singleton objects that take XBlocks as method arguments.