Made a start on creating prepared statements in DBsql file