applied license, some classes deleted, dependency to jdk1.5