Changes for new version 1.0
Update pom.xml
Many changes for the new API.