[fix] support for saving general config
[fix] updated documentation in datamod.php
[new] deprecated model