reorganize libraries and working table in pdr-c.js