Created constructor in menuview
Fixed violations