Fixed all eclipse warnings such as unused variables, unused imports, dead code, serialize uid, etc.