a bunch of styling changes, and add a scaladoc link.