Clean the Cover class file, Add the CreateImage function to the API.