Support pre-traversed library as well

Just have a library.json in the root of the data dir or www dir