config tweak, start main() properly
refactor
start functional rewrite
bugfixes
finish the /last/ bit
simplify
reorg