add mongo class to MyApplication::run() method