adding ability to run using the class directly
better error message, warning if default module creation failed