working on templates, created rough db and route entries