Added first implementation of database