Adding the base viewport class

Signed-off-by: Pankaj Dekate <whoispankaj@gmail.com>