Move cofing to config