Fix getting tbus dir and templates dir.
Add peer remoting to tbus update.