Implement admin as a class to subclass