Revert "new controllers for the new api endpoints"

This reverts commit c5f6c166f3130c7204f44b1948b47df1548f1a7e.