add groups view
change dir names
fix names of templates. remove N+1 query from groups controller