Modify javadocs into scaladoc format

Work in progress