Added user setting compression factor
Merge pull request #554 from worktycho/compression

Added user setting compression factor