Some fixes and logging
Introduce quants.
add some defaults and fixes