image class implementation
added interface for video source