Refactoring

-Moved out the code responsible for replicating folders to a class of
its owen.
-Moved out strings like error messages to a class of its own
(ReplicatorConfig)