Fixed build.gradle to add external dependencies to POM. Removed unused dependencies