Refactored model classes to use a consistent namespace structure and improved inline documentation for better clarity.