Change project structure and add SQL script