Initial implementation

Some of these variable names are unclear.  For example, this one should probably be `confd_remote_filename`, since that's what it is