Implement div loader
Fix up makefile tests and add divread to test suite