code cleanup
initial lzma support