trying to get views and templates working