All this code is simply a refactoring of code that existed before in a way that makes it re-usable in other contexts. I did not have time to completely re-write and optimize every line of it, and I have no inclination to do so now. It works and our primary objective right now is to get working software out the door.