Add documentation

Also corrects the version numbering to 3 digits, as per WP code standards.