Is it possible extract "$module->new" into separate method?

this method can be overriden if someone needs use complex application builders.