Moved states array to the separate class and added Twig extension to display state name