Revert "add local library"

This reverts commit 153118c6c19db9d4e389c0bee7a04984ac0c73f4.