Admin Code Cleanup

Deleted uneeded functionalities and reorganized code for a more cleaner
more maintanable