GUI Added

Some states stuff done