Rafctoring all my backend calls for

i realized next.js has a /pages/api scheme for api definitions. I will move everything there so that my client has no idea of the underlying tech!