Refactored cbean loader to add use builder.
Refactored template lookup builder
Added host lookup