Setting up the infrastructure