Updated php classes, still no real error handling