Initial check in of ams-php