Code refactoring. Moving functions into IIFE.
Wrap all commonjs modules in IIFE. Removed unsued variables
Fix test due to code refactoring
Changes to setup test cases
Merge pull request #27 from globant-ui/code-refactoring

Code refactoring