background is now a class that inherits from entity2d