Framework for automation