Removed unused java files.
Removed unused dependencies.