Added routing logic to routing script
Added master config file