Make OnionKit into a library