Updated to use new version of arrayfu
Added a license
Updated the template visitor