add threading for producers and port listeners
add final to Constants class