Reorganize directory structure and update .gitignore files.
Initial commit (without editors).