added index and show templates, extended clocks controller