Updated pom.xml,added license notice to classes