Partial implementation of admin API
Implement all but perf counters in admin API.