Create ViewCast to take care of casting view