Create istate.hpp