fixed groups. added skeleton for activities.