Action-Based Imperative Programming with YAGI