download functionality wip

Signed-off-by: Ondrej Rafaj <ondrej.rafaj@fuerteint.com>