State class is now to be used as a base for other state classes.

1. State class has 5 pure virtual member functions.
2. Implemented status functionality.