Added comments, and sample code for importing and exporting data from DBs