Added viewport class