the komsomolets was to have destroyed missile-armed submarines and carrier strike groups composed of aircraft carriers and escort ships , and it could also direct long-range fire against onshore targets ... .