A Comprehensive Ethical Framework for AI Entities: Foundations · Study