basic api barebones and routes