Created a base class for simulators
Remove debug code
Add testcase repository support