Main class base structure