more stuff moved into libmget