Modifing numeric extraction from text function.
Cleaning and updating mongo db releated functions.