-I option now accepts app id as 5th param instead of port pool. Added callback unregister function to python API