Removed 200+ warnings

Removed LocalConfig static methods and fields, maintained singleton pattern
Removed unused imports and methods to silence more warnings
added "@Suppresswarnings" to silence more warnings
Set access modifiers to 'static' to silence more warnings
removed unused variables to silence warnings