added Subject class model