Merge "Refactor archives to support creating archives." into arc-apps