Key unlocking and app downloading

I've been working on adding unlocking and downloading to grunt-phonegap-build. I've had a bit of time to tidy up my POC and thought I'd try and get some feedback on it. 

What are your feelings on one task vs splitting it out into multiple? It's one at the moment and i'm not sure whether to worry about breaking it up.