Class structure setup