Added a client mode (to generate the callbacks)
Working on callbacks