Basic port of old module from OXID 4.4.x to 4.7.x/4.8.x