fixing empty directories and gitignore setup