Added ddl files and upgrade script