Created state namespace.
Renamed State to state::Base.
Changed State::setGlobal to state::setGlobal.