adding env port
handle all messages and adding port const
desc modif