Created a common base class for states.
Make all states inherit common base class.
Removed useless constructor from DoNothing and make it inherit state base class.