reconfigured admin classes to be only loaded in admin context