Addapted page to cleaner code, moved backups out of app