Clean up ApiController logic and fix support for DELETE
Add ApiControllerCommands
Fix threading bug when requests arrive in rapid succession