implement one way binding

complete one way binding
complete almost all example logic