Massive restructuring: 4 submodules: aptirepo, common, http and uploader