added debugMode option, engine now loads cards