Added EventLog methods

and re factored GetValueFrom method