Complete refactoring, use rsync for getting mirrors

Change-Id: I3148abbfe40a7de867df8a20362eb595213ee628