engine: started moving the update & download code into common based so it can be used from dedi also