Move config details to their own class