first implementation of a Router component