rename index.* to lib.*