db_exec: prepare for new local channel
db_exec: prepare for new local channel

mostly renaming and a bit of restructuring.

Netsend/persdb,Netsend/PerspectiveDB,Netsend/PerspectiveDB,Netsend/persdb,Netsend/PerspectiveDB,Netsend/persdb