Start widdling away at pruning.
Update with prune function.
Merge pull request #2 from cmeiklejohn/feature/csm/add-timestamps

Merge the pruning code.