refactor(loader): document spec loader and remove relative file parts