separated modeling to math and natural modeling for more flexible usage in diploma #59