Currently it is not possible to make self contained modules. I propose that module replaces app components under same name. Very simple example is creating a different loginUrl for module. Finally I had to define separate component and replace user with this one under module init. This is not very self contained.