simplified python router