add -Wextra flag and fix issues
update modules
re-add flags
Merge pull request #5 from mikedlowis/88

closes #3