Adding gitignore and removing class file