Refactor loom package.
Merge pull request #75 from troopjs/feature/loom_refactor

Refactor loom package.