added cursor functionality, created base class for video view