First workable version of the repository addon