added partial code for the remaining repository classes
Merge origin/master