refactoring

refactoring
write log while executing command
refactor decompress and compress