A very primitive download function

Signed-off-by: Suki <suki@missallsunday.com>
Setting for downloads path

Signed-off-by: Suki <suki@missallsunday.com>
build a correct path

Signed-off-by: Suki <suki@missallsunday.com>
Few changes, the rest hould still work I hope!

Signed-off-by: Suki <suki@missallsunday.com>
Can we avoid another query?

Signed-off-by: Suki <suki@missallsunday.com>
updatecount()

Signed-off-by: Suki <suki@missallsunday.com>
Clean the cache when requested

Signed-off-by: Suki <suki@missallsunday.com>
No need for this

Signed-off-by: Suki <suki@missallsunday.com>