Add the main class, update .gitignore