Switch to API jar from Maven central & other improvements