move bailPHPVers up, remove old api stuff