Code cleanup...
Moving resource construction to Sim.
Moved recorder creaton to Sim.