Refactoring and adding the scalastyle plugin configuration