Wrap repositories with a class

Create a new class that holds information on a repository. Use it
instead of lists of repository names.

Signed-off-by: Marcus Karlsson <mk@acc.umu.se>