Create state.hs