Added framework for using modeladmins outside of admin.