Add base sql structure

Signed-off-by: Max Sikström <msikstrom@op5.com>