Revert "Revert "Created admin index and admin class""

This reverts commit 91e13fbd76fe2c5482aba8e83fce89ede979811b.