add gitignore and remove osx hidden file