Segregate ApplicationFactory