Added core logic to download init file, and to download and resume galleries
Added android logic to interact with the core