Create class for state - Types and expressions