Renamed functions - been doing JavaScript too long
Fixed TPL use to chain async tasks properly.
Registering providers