got the API working! Still don't know how routes work...