clean out old api cruft and add placeholder webhook handler