Fixed comments, examples, and added file existence check for restore_db
Fixed formatting of one line functions
fixed multiline commenting