adding contact, per swing heatmaps, functions, and karma tests. also reorganizing accordion