Heavy refactor to take all DOM creation to a completely new class.