add load functionality into oscImage class