Python resource monitor

Closes #81