App.setup with singleton & non-singleton.