Minor refactoring of loader-C. Add compression testbed.