clean up
fixed a bug in RightRepository
clean up
added new Repositories