Added createTable form and reorganized sql syntax