input 'load': loads database from data.dat
input 'dump': dumps database to data.dat