refactored deflate module and all modules due to new hooks