Database fully implemented