Refactored the addressN chain codes out into the context and provided externally through the service