change rest to rowter, ready for refactoring of orm and models