refactored php parser with brand model parsing