add sections class

makes the design more object oriented