Remove lib package and merge it into main