Moved the macros into a separate crate
Host address can be changed and router is wrapped in an Arc to avoid cloning