replace router with interface
Merge pull request #9 from JarekW/dev

replace router with interface