Completed all metaqueries and refactoring work.
Now we have tops also for countries and repos.
And the repos code is much cleaner.