Added apple texture. Made some changes to sprite class to support
loading from resources