Added sql for creating tables