Refactoring and added config file for remote actors