Fix Compiler Warnings

The project contains several compiler warnings.

 * remove unused imports
 * remove unused methods