update pom and remove unused files.