Some types added and reformat with IntelliJ IDEA and added some JavaDoc.

- Added the first throw of value type codecs
- Reformatted with IntelliJ IDEA
- Fixed order problem after IDEA reformat
- Added some JavaDocs