Add display templates
Add logic for inserting data