Replication

May still have a bit of clean up to do.