Thomas Cook to cut costs by focusing efforts online