allowing modules to access more outside variables
automatically hook all links in module after initialization
fixing order of initialization of factories array

did not work if factory node was pre-loaded
allowing to clear contents of container