Restructuring to mimic RedBeanPHP closer.  Added Model support