Dojo OOP Project using PHP