created installapp macros for handling common elements (getrepo, hosts, vhosts)