removed unused imports. added author statement. added javadoc.