Added the compressor into the code and set up a few classes.