Creates the application