added flowtype
Merge pull request #86 from Aaike/master

added flowtype