classes main view