Support full module API

So far:

 - `module.parent`

More commits coming soon...