polish: abstraction of the field type
Merge pull request #6 from StuartLee/master

polish: commit some abstractions of the field type