Use CommonUpdater. Move code to be class. Add deployment script for elastic.io.