Router Model

The router model and the relationship with the Endpoints has been
included.