WIP: Move webhooks to API

Don't ask me. I didn't want to break the API @Kami had.