Added server api

I performed an upstream merge with the main branch so just the api directory should be new