Object Oriented PHP overhaul of DM Matrix (testground)