rework controller and dynamic

dynamic is almost done

need to implement components before moving to other layers