working version of replicator supporting files, packages and db
replication