Add validation trait
Merge pull request #25 from Flynsarmy/master

Add validation trait