added new interface - you have to init the lib with 3 function pointers;
updated readme;
removed some waste;