refactor MessageDao
Added scala-logging dep