adding router object