[m] Added base class for States