Basic code for create/view/list classes