Add .gitignore and organize the structure.