rename directories and add .gitignore file