added basePath so the paths where imports will be searched are relative to set basePath