follow naming conventions and make it more clear, the example and
document are also updated
Merge pull request #1 from xupeng/type-support

add value type(like int or float) support