Added php interface code to repo