Admin module

Removed the admin loader from the core, and created a separate module.