fixed templates and added backbone