Code change for issue #5 (Support custom velocity directives)

I have provided a code change to support this feature. Please take a look at commit c0b9ef42ca9b36f9f5ed6b4c7e65e5c2db724c60 .

Thanks,

Zaher