Removed dead code
Updated gitignore