add remote fetch
make sig and logmsg optional for fetch remote
add remote callbacks struct and missing default constructors