Basic model backend using MagicPHP