Repo for an old version of a project I was working on.  Need to update it soon but the basics are there. Shame I lost the old repo...