Issue#385 replication

Front end changes for replication