[fabbione/kronosnet] 10244a: knet: move knet code to its own library