move api lib package directory