refractored
updates for contao 3