added apidoc
fixed checkstyle