Patricks indledende database implementation