Added some new functions to make the xjcp interface more powerfull and give it the ability to be efficient.