.gitignore is now working
Cleaned up code