adapted to core change: registerfrompath
cleanup
adapted to static default directories
reimplemented simulation::loadModulesFromDefaultLocation