Move all mode strings to an enum to ensure consistency