Added scalastyle and comments.