add simple db implementation