compact dropbox rewrite + test

Shoudl we make it configurable ? A Traitlets of strings and compile the regs at import?