Major refactoring of ecomod startup functions and movement to a separate directory ecomod/_ecomodSetup