moved some methods
added apt mirror support