safer debug structure
rearrange proxy for easier registration.
Work towards exposing permissions/provides