add Subject class to models.mongo