Cleans up after itself

Added PHP cleanup, adding other cleanups shortly.