Fix require

Fixed require which expects that all the files be on the same directory of the caller script.
Merge pull request #3 from crodas/patch-1

Fix require