merge libraries

PHPAncake lib is now up to date with modern usage