Refactoring code into proper classes and interfaces. Isolating crypto, network and Garage from each other.