update schema class, and methods description. also add basic methods in the repository