Add logics for looking transaction opportunities

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