added partial code for the remaining repository classes