Add remote search function

Signed-off-by: Wu Long <wulong@comp.nus.edu.sg>