Add bean manager/locator initialization to generic application/deployment