Refactored the config parsing

Added support for synergy:routes parameter in config