API to access a directory which can be served as CPAN repository