Base code to build a compressing ram drive.