Improved SQL syntax on create_application_tables, and created create_form_tables script