refactored aceEditor to work with ModuleLoader package