Removed non-content-provider code and switched to mainstream node librar...

...ies for control flow.