Perfected sprite loading and class organization