src: finished adding sql database