move route handlers to separate directory