Backup module

Refactroring and start of backup module implementing