I Can create a kind of API, with a singleton and use with delegates callback for succeful and failed.