add attribute type support
add type support
fix refactor forget rename
initial
refactor contrtoller
add header content type set to json