Fixed project type for viewcontrol gen & linted the files.