The core of the Cyclus nuclear fuel cycle simulator