Setting up the application