Created an interface over the database