add support RESTful routes, tests
late static binding in Model class