replace deprecated elements
some javadocs, suppress some unused warnings, remove constructors that are not necessary