Merge pull request #8 from justinliucs/master

Merge from base project.
Added validation of flow name.
Merge pull request #17 from lostcharlie/master

Added validation of flow name.