Factor out sprite entity set class
More refactoring
It kind of works now