updated and extracted moon toolkit; updated apr binding