[WIP] refactor framework layed out in whatever.js
[WIP] refactor up and running, transferring old code over to new structure
[WIP] walking and dying now working in refactor. Reports not implimented.
[WIP] reports now working in refactor