refactor bootstraping code, introduced DeploymentUnitProvider to allow flexible way of provideing what should be deployed