fixes of scaladoc; visibility changes of members to control what's in scaladoc

Signed-off-by: Mikolaj Szabo <savingprivateblue@gmail.com>