changes to specify parent, and container selector when creating module to allow nesting