Setting up application