Centralizing in RailController figures generation