move to top level
copy six relate code to mixin.py
add base check to a loop
re-generate class