Simple template engine for two way bindings