Did some refactoring and created the BackupManager and BackupInstance classes and started to implement the core functionality.