Completed the creation of the database storage and retrieval