Minor cleanup of commented-out code, unused imports. Added license and pom files.