Added returning best result for  a given problem
Db uri and port is now taken from process config vars