Add download functionality to search module

Line is too long. [128/80]