Merge pull request #1706 from tchak/sub-containers-resolver

sub containers should inherit resolver
make container a module