MySQL Schema To PHP Class