refactor moduleServiceProvider