feat(library): add shared environment object

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
feat(library): add module system API

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>