move upload to upload
extract composite repo creation