added a lastChangeTime field to Thread
introduced a part of interfaces of *RepositoryServices