Create state.rb