Added repository handling (add/edit/remove)