Made some changes.
Made a sprite class for image rendering.