Fast deploy

Some re-factoring done on the mobile deployment. The API for the deployment remained the same but the structures used by the Mobile Deploy are a little bit more structured now.

The deployment flow is not independent of the deployment way the user choose, which makes it more scable and easy to maintain.
In the past this wasn't a big issue because you only needed the header from the response so I guess this error didn't came up