Add lib index
Remove unused dependencies