Cousera Scala class