#9 createRouter() added

bad implementation