Added Subject class (#39)