Add support for "dirty" backups where redundancy requirement is not met

Code clean up
Add .gitignore