made method CreateStrategy static so we can extract it into a factory class
extracted strategy factory