Infer model from form name.
Merge pull request #6 from kaspth/infer-model

Infer model from form name.