REST TCP port configurable

add ability to change the REST port