Merge pull request #5 from intersvyaz/master

Safe model creating