fixing dependency and moving to root pom