Basic backup functionality
Fixed minor bugs