Added gitignore and fixed some things