Compression module done
Encoder skeleton refactor