split up section to functions and class. created a section builder module