moved some logic to model, started to add live bindings