Add skeleton of apply resolutions module and tests