Templated Node Module
Added PinMode function