Removed unused code and solved all warnings.
Updated gitignore.
Removed ignored files from index.