added prefab functions for loading images and drawing sprites