converted to maven project and added pom.xml