changed a few class names, moved to_conf to Binomial
using supported named parameters
made format string more clear