Address checkstyle violations

Addressed checkstyle violations (most caused by imports for class references in javadocs)  and removed deprecated methods usage.
/cc @demobox