Semaphore states setters
Moving TrafficLight class to a separate file