engine and workers stats and initialization changes, mysql stats,
housekeeping.  now using repositories