created ProgramImage class