Frontend Refactoring

This PR also includes code of the new Javascript classes `SearchDownload` and `DownloadGenerationModal`