Move Type.def-heavy files from lib/ into their own directory.

Closes #2.