Refactoring

refactored follow.rb and configuration_error.rb