[FORM]
added hostcode to config
[CHANGE] use hostcode instead of ip to detect own id;
[ADD] exported functions support a alternative match_key;