add some parts of library

add colorName, GlobalVar(contain 2 hashmaps using to inter-transform
colorName type and color type), decoder(undone), encoder