Started on the code to create the sql-statements