Refactored admin toggle model.

Removed swagger stuff.