Some code format fixes
Add src to coverage whitelist
Add backup function