added SQL db structure