Moved management view to setup.py to avoid duplication