Laying out api routes