added static methods in mongo_parser and changed bindings for TwitterListener