Add CPAN files and documentation
refactor tests