Move type defenitions to interface/.
Add the section to README to describe where type defenitions are.
Add the type definition for flowtype.