added some views and templating