Moving admin functionality into it's own class