factories are in dnisarray
factories are working now for template
added link on workouts page
fix for template creation