add_class will import the framework if available, otherwise the class path