Added a purge api
Added some ops infrastructure