If you just want to create a class that can be used to turn a LED on and off by toggling a GPIO line, there is no need to complicate matters by trying to instantiate the class at a specific location. All you need to do is to create a class that has member functions that will read/write the GPIO port that your LED is connected to.
Paul.