Introduced singleton in DatabaseManager

And use this in MumuFriend