heavy use of stateful.lua (simplifies things) + updated README)