PLATINUm: A new framework for planning and acting