Update pom
Fix build errors
Add license