create segment, resources model
rename a method on connectionFactory
create helper class
create resource controller
create a api to get data of traffic system