Set up activity structure