major reorganize and cleanup; modulize QZGeometry::initialize