Use ProfilingAdapterFactory instead of closure in module config
Merge pull request #39 from epokmedia/fix-config-closure

Use ProfilingAdapterFactory instead of closure in module config