Refactor - moved common functionality to library; added essentiall library functions - AddLookUpService, LookUp and expanded scope of RegisterMyFunction