added .gitignore and main class