moved image loading in a separte folder