use char for some enums
move qzip and xmlstream into separate libs