load api routes