Moved the API_FieldTypes enum.

Closes #10. Also added a little more documentation for the field-related
functions.