Setting up consumer and config