Move knet to a top-level package