refactored compression, added commands to move files