Add logics for looking for transaction opportunities

Add logics for seeking transaction opportunities. Make some changes to GetAllPriceServlet, but could not get it working.
nice catch!