added route params to ORM, closes # 1