Add .gitignore, move main files to root of repo