Connor Brookes 'was not part of any gang or had anything to do with the killing of Bailey Atkinson', a court has heard.