added a demo in order to use the primus API