move config to another module so that we do not have circular imports