Performance improvement. Added and modified debug prints.
added mongodb classes to headers.pri