Some classes are intended to create lots of objects. Take Vec2 for example: you will probably need a lot of those in your application. But other classes, like the score class above, are only meant for a single object. In this case it makes sense to construct that object globally, right below the class. A global object has the advantage that it can be used from anywhere in your application.