Encap state,

Simplified State constructor, encapsulated variables.