Updated gradle and added pom.xml