pom.xml and java soure code added