Update data_storage.py

+ added more flexibility in choosing the dbname