Embedd my_formats and memory_usage for usage as standalone script
Add support for Snappy compression
Add support for lzma compression
Allow usage with python 2.6 and later