Revert "Delete admin.py"

This reverts commit dc9c147031419b3f49f9531482cfb8cfeed538d6.