Add gitignore and main file