Moving admin configuration code to admin.inc file.