add a simple router implementation