Fixed pom issues, and dependencies