mysql adapter work, Module.js needs refactoring