modified admin pages to use proper schema
added missing files
Refactored admin pages