Two way binding for checkboxes

fixes #25, fixes #30