Database-implentation