More work on admin section

Broke off some formatting stuff into its own file