created ModuleExecutor inner class for Serialization