more basic work on libmget