tweak models and api a bit
request from #76;
Merge pull request #92 from ihptru/master

tweak models and api a bit