Started moving sprite creation into a factory function: makeSprite