interface & class to handle blob data