Setting up initial application.