added ability to create a new application.