Update to .gitignore and some src files