Towards a simultaneous measurement of W boson mass and production properties with the CMS detector