Creates new application and restricts views