Change method name according to upstream.

Upstream has changed method name as follows:
* looped_method -> build_items
* gethostname -> detect_hostname
so, we are following this.

Also, setup.py is now actually working.
Merge pull request #1 from daniel-star/change-method-name-according-to-upstream

Change method name according to upstream.