.from(dir) looks files from dir now and not parent
Added tests
Added tests for _has and _require
Added tests for _has and _require
Added tests for _def