Moved all images into resources folder and fixed some rawtype warnings