Build 0026 - added state architecture (not finished, won't compile)