First draft of the State class.