Added pid python class