separate the append hosts logic
move apply hosts functions from host actions to host apply
Merge pull request #21 from helmedeiros/applySearchingAndAppending

Apply searching and appending