Added database foundation