More migration work.  Now getting serious segfaults.
Starting passing tests for the chunk class