-several namespace corrections
-added missing method "findById" to MessageManager