Migrate compression code to it’s own namespace

Closes #49