Created factory interface for state builders