Migrate lib to its own repo.