Class and religion in ancient india