A simple index lib