Implemented the db and text file storage capabilities.