Reformatting code; setting up config.