update check and validate it
turn registration into go routine
Merge pull request #24 from CapillarySoftware/add_consul

Add consul registration as go routine