Added class fields

https://github.com/kfgodel/diamond/issues/57
Added type to fields

https://github.com/kfgodel/diamond/issues/57
Merge pull request #83 from kfgodel/57-add_fields

57 add fields