updating docs
some transform refactoring
fixed customization system to allow external modification to gloal data structures. fixed some bits to pass check