delete image lock class

refactor new image class