Track instances

Close #140 
Add quite a bit more description here, so someone else who wants to use this can...