Added some specific testing of the extractors and mappers.
Added codenarc and resolved most of the existing suggestions.