Add .gitignore, move files into groups.