Implemented the entry entity.
Implemented execute query method in the database class.