Migrate to 1.6.4

This series of commits migrates OCS to 1.6.4, establishing basic functionality.  Further testing is required for mod compatibility, but most APIs used should be up to date as well.