fix MoodGraphGenerator.java
simplify all to use db repo