Create MainSQLStatements

This list of statements creates each table, sequences, functions, triggers, procedures for the DB