add __version__
add DEBUG messages
add doc for logging
add debug messages
ENH do not recalculate the dict at each call
expand todo
use self variable
add unittest to check that dict and list are equivalent
FIX: detection of braces