Created the first version of the database to save the data locally