Backend refactor

I've refactored the backend of the admin.
Less files, less code