Further work on new plugin system
Moved backup functionality into plugin