Add posibility to export database as .db file