Added subject class (#39)