Well I've got some code that works. Still have to fill out the prose.