initial implementation of a accept header based selection of the controller

developed together with @newloki