updated: moved downloads to a dedicated controller and simplified output.