Initialization
api.init is the function that initializes your program :
You don't need to pass arguments to the init function, all the data is got from the constructor
The api constructor needs the following data to be passed : program version, program key, program api/enc key and optionally show messages