created inital version of the php shell wrapper (do not use php!)