wrap api routes inside a class and comment