started to buildup a db implementation