added pointer check statement
added receive function registration
implemented config init load algo