Make rsync connections templatable

closes #103