framework: occupy

@fengjingchao This works. need some refactoring. 
sorry, my question was really how host:port are populated on node, should host be passed to node and get port automatically?