move string-based class loading to the cli helper