Added the first implementation of the database