Router function

Creates Router object.