Moved state config to their own files