Refactor sprites code