added PHP wrapper API and implemented feed messges