refactored automation basics, added automation client basics