Add pldb and downgrade core.logic to keep compatible with it