move instantiation of modules to appular