develop a sinatra app to trigger scan & collecting result.