added entity parenting, and gave components a pointer to their entity