Finished initial prototype of new “State based” engine