Initial routing for the api