added basic interaction. todo:  templates (handlebars)