move compression/uncompression prototype ready to test