Update .gitignore and code style. Move files.